//
//  ReVerbViewController.h
//  ReVerb
//
//  Created by Brandon Braley on 8/21/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "rvSprite.h"

#define	NUM_LIVES 3
#define	DELTA_FRAME_TIME 1.0f/30.0f

@interface ReVerbViewController : UIViewController
{
	/** Background images */
	UIImageView*		m_BG_Main;
	UIImageView*		m_BG_Top;
	UIImageView*		m_BG_Bottom;
	
	/** Buttons */
	UIButton*			m_btn_Start;
	UIButton*			m_btn_Exit;
	
	/** HUD */
	unsigned int		m_nScore;
	UILabel*			m_lbl_Score;
	rvSprite*			m_Lives[NUM_LIVES];
	
	/** The Views */
	UIView*				m_pMenuScreen;
	UIView*				m_pGameScreen;
}

/** The Views */
@property (nonatomic, retain) IBOutlet UIView* m_pMenuScreen;
@property (nonatomic, retain) IBOutlet UIView* m_pGameScreen;

/** Backgrounds */
@property (nonatomic, retain) IBOutlet UIImageView* m_BG_Main;
@property (nonatomic, retain) IBOutlet UIImageView* m_BG_Top;
@property (nonatomic, retain) IBOutlet UIImageView* m_BG_Bottom;

/** Buttons */
@property (nonatomic, retain) IBOutlet UIButton* m_btn_Start;;
@property (nonatomic, retain) IBOutlet UIButton* m_btn_Exit;

/** HUD */
@property (nonatomic, retain) IBOutlet UILabel* m_lbl_Score;

- (void)PreBeginPlay;
- (IBAction)OnStartGamePushed:(id)sender;
- (IBAction)OnExitGamePushed:(id)sender;
- (void)TickMenuAnimation:(NSTimer*)timer;
- (void)TickGamePlay:(NSTimer*)timer;
- (BOOL)SlideObjectUp:(UIView*)obj Delta:(float)delta;
- (BOOL)SlideObjectDown:(UIView*)obj Delta:(float)delta;

@end

